package cn.xspace.wnx.entity;


import com.xspace.android.xafcommon.been.BaseEntity;

import cn.xspace.library.util.MsgType;

/**
 * Created by liuchen on 2016/11/12.
 */

public class WNXBean  extends BaseEntity {
    public String inserttime = "";
    /**
     * 0：通知公告；1：微农信；
     */
    public int msg_type = MsgType.WNX_MSG.toNumber();
    public String msg_logo = "";

    public String msg_sender_id = "";
    public String msg_sender_name = "";
    public int msg_unread_flag = 0;
    public String msg_send_time = "";
    public int  msg_content_type ;
    public String content = "";
    //工作通讯 农业新闻 技术指导 农业预警 市场咨询 政策解读 致富快报
    public String msg_kind = "";
    public String msg_title = "";//第一条title
    public int unreadCount = 0;//第一条title
    public String msg_id = "";
    public String page_index = "";
    public boolean isHistory = false;
    /**
     * 对bean的类型做区分,0 是默认的微农信,1 是微农信列表展示用的bean
     */
    public int bean_type = 0; //使用remark1字段
    public String shotKey; //首字母排序时用

    @Override
    public String toString() {
        return "WNXBean{" +
                "inserttime='" + inserttime + '\'' +
                ", msg_type=" + msg_type +
                ", msg_logo='" + msg_logo + '\'' +
                ", msg_sender_id='" + msg_sender_id + '\'' +
                ", msg_sender_name='" + msg_sender_name + '\'' +
                ", msg_unread_flag=" + msg_unread_flag +
                ", msg_send_time='" + msg_send_time + '\'' +
                ", msg_content_type='" + msg_content_type + '\'' +
                ", content='" + content + '\'' +
                ", msg_kind='" + msg_kind + '\'' +
                ", msg_title='" + msg_title + '\'' +
                ", bean_type='" + bean_type + '\'' +
                ", unreadCount=" + unreadCount +
                '}';
    }
}
